/** 商品品牌数据接口 */
export interface GoodsBrand {
  objectId: string;
  name: string;
  beizhu: string;
  createdAt?: string;
  updatedAt?: string;
}

/** 品牌表单数据接口 */
export interface BrandFormData {
  objectId?: string;
  name: string;
  beizhu: string;
}

/** 品牌列表查询参数 */
export interface BrandListParams {
  searchText?: string;
  seeRights?: string[] | boolean;
}

/** 品牌表单组件属性 */
export interface BrandFormProps {
  visible: boolean;
  editData?: GoodsBrand | null;
}

/** 品牌表单组件事件 */
export interface BrandFormEmits {
  (e: 'update:visible', value: boolean): void;
  (e: 'success'): void;
}